package com.stylefeng.guns.modular.netcar.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.netcar.model.OrderNoteDict;

import java.util.List;

/**
 * 
 * 订单备注字典 Mapper 接口 
 * @author sasazaixian
 * @Date 2018-10-23 11:05
 */
public interface OrderNoteDictMapper extends BaseMapper<OrderNoteDict> {
    /**
     * 删除订单备注字典
     * @param  orderNoteDict
     * @return    
     */
    int deleteOrderNoteDict(OrderNoteDict orderNoteDict)throws Exception;
    /**
     * 批量订单备注字典
     * @param ids 主键id数组
     * @return     
     */
    int deleteBatchOrderNoteDict(String[] ids)throws Exception;
    /**
     * 查询订单备注字典列表
     * @param orderNoteDict 订单备注字典对象
     * @return      
     */
    List<OrderNoteDict> selectListOrderNoteDict(OrderNoteDict orderNoteDict)throws Exception;
    /**
     * 分页查询订单备注字典列表
     * @param page  分页对象
     * @param orderNoteDict 系统操作对象
     * @return
     * @Date 2018-10-02
     */
    List<OrderNoteDict> selectListOrderNoteDict(Page page, OrderNoteDict orderNoteDict)throws Exception;


    /**
     * 同一个事务 互斥锁查询
     * @param orderNoteDict 系统操作对象
     * @return     
     */
    List<OrderNoteDict> selectListOrderNoteDictForUpdate(OrderNoteDict orderNoteDict)throws Exception;
    /**
     * 通过主键ID查询订单备注字典对象
     * @param id 主键id
     * @return    
     */
    OrderNoteDict findOrderNoteDictById(String id)throws Exception;

    /**
     * 插入订单备注字典
     * @param orderNoteDict
     * @return   
     */
    int insertOrderNoteDict(OrderNoteDict orderNoteDict) throws Exception ;
    /**
     * 更新订单备注字典
     * @param orderNoteDict
     * @return     
     */
    int updateOrderNoteDict(OrderNoteDict orderNoteDict) throws Exception ;


}
